import React from 'react';
import { Drawer } from 'antd';

const MyDrawer = (props) => {
    return (
        <Drawer
            title="Basic Drawer"
            placement="right"
            closable={false}
            onClose={this.props.close}
            visible={this.props.visible}>
            <p>Some contents...</p>
            <p>Some contents...</p>
            <p>Some contents...</p>
        </Drawer>
    );
};
export default MyDrawer
